package com.sicau.socialpracticesystem.entity.param.practicenews;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author ttxxi
 * @description:  新增新闻稿对象模型
 * @create: 2021-04-28
 **/
@Data
@ApiModel(description = "新增新闻稿对象模型")
public class PracticeNewsAddParam {

    @NotNull
    @ApiModelProperty(value = "团队id")
    private Integer teamId;

    @NotEmpty
    @ApiModelProperty(value = "封面")
    private String cover;

    @NotEmpty
    @ApiModelProperty(value = "新闻稿标题")
    private String title;

    @NotEmpty
    @ApiModelProperty(value = "新闻稿内容")
    private String content;


}
